﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace hbse.Entities
{
     
    public class ProductPrint : EntityBindable
    {
        private Users user;
        private Product product;
        private int numPrint;
        private DateTime? printDate;

        public virtual Users Users
        {
            get { return user; }
            set
            {
                if (!Equals(user, value))
                {
                    user = value;
                    NotifyPropertyChanged("User");
                }
            }
        }

        public virtual Product Product
        {
            get { return product; }
            set
            {
                if (!Equals(product, value))
                {
                    product = value;
                    NotifyPropertyChanged("Product");
                }
            }
        }
        public virtual int NumPrint
        {
            get { return numPrint; }
            set
            {
                if (numPrint != value)
                {
                    numPrint = value;
                    NotifyPropertyChanged("NumPrint");
                }
            }
        }
        public virtual DateTime? PrintDate
        {
            get { return printDate; }
            set
            {
                if (printDate != value)
                {
                    printDate = value;
                    NotifyPropertyChanged("PrintDate");
                }
            }
        }
    }
}
